package cn.itcast.ndkdemo3;

import android.os.Bundle;
import android.view.View;
import android.app.Activity;

public class MainActivity extends Activity {
	
	static{
		System.loadLibrary("hello");
	}
	
	private DataProvider dp;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_main);
		dp = new DataProvider();
	}
	
	public void click1(View v){
		dp.callMethod1();
	}
	
	public void click2(View v){
		dp.callMethod2();
	}
	
	public void click3(View v){
		dp.callMethod3();
	}
}
